import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        MyHeap myHeap=new MyHeap(10);
        int[] elem=new int[]{12,23,22,13,45,37,34,67,66,88};
        myHeap.initElem(elem);
        myHeap.createMyHeap();
        System.out.println(Arrays.toString(myHeap.elem));
        System.out.println(myHeap.poll());

    }
}
